package Mapper;

import entity.Food;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface MoodMapper {
    //根据输入的input(情绪)搜索目标(首页)

    @Select("select * from food where moods = #{input}")
    public List<Food> searchMoods(String input);
}
